import api from './index';
export const getList=()=>{
    return api.get('/vpn/list')
}
export const runAndRemove=(fileName,name,value)=>{
    return api.post('/vpn/run-and-remove',{
        fileName,name,value:value?1:0
    })
}
export const deleteVPN=(fileName)=>{
    return api.get(`/vpn/${fileName}`)
}